import axios from "@/assets/request/request";

export default {
  likeVideo: (videoId: string, isCancel: boolean) => {
    return axios({
      url: `/likes/video/${videoId}/${isCancel}`,
      method: "post"
    });
  },
  likeComment: (commentId: string, isCancel: boolean) => {
    return axios({
      url: `/likes/comment/${commentId}/${isCancel}`,
      method: "post"
    });
  }
}